package cn.com.surker.enums.material;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 入库类型
 * @author luotao
 * @date 2023/7/24
 */
public enum StorageTypeEnum implements ICodeDescEnum {

	PURCHASE(0,"购进入库"), DEPT_RETURN(1,"部门退还"),INVENTORY_PROFIT(2,"盘盈入库");

	private final String description;

	private final Integer code;

	StorageTypeEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}


	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
